package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("free_delivery_terms")
public class FreeDeliveryTermsDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 运费模板ID */
    @TableField("free_template_id")
    private Long freeTemplateId;
    /** 包邮地区（存id,格式为'省-市-区',以'|'分隔） */
    @TableField("region")
    private String region;
    /** 包邮件数 */
    @TableField("piece_no")
    private Long pieceNo;
    /** 包邮重量KG */
    @TableField("weight_no")
    private BigDecimal weightNo;
    /** 包邮体积m³ */
    @TableField("bulk_no")
    private BigDecimal bulkNo;
    /** 包邮金额 */
    @TableField("price")
    private BigDecimal price;
}
